package com.book.book.service;

import com.book.book.domain.CommunicateDO;

import java.util.List;
import java.util.Map;

/**
 * 图书交流表
 * 
 * @author siyuan
 * @email 894266364.com
 * @date 2018-01-27 10:53:23
 */
public interface CommunicateService {
	
	CommunicateDO get(Integer id);
	
	List<CommunicateDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CommunicateDO communicate);
	
	int update(CommunicateDO communicate);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<CommunicateDO> getcommunicate(Integer bookid);

	List<CommunicateDO> listWithName(Map<String, Object> map);
}
